package com.it.sun.redismq.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ClassName com.it.sun.springboot.course.entity.Message
 * @Author sun
 * @Date 2021/1/27 15:01
 * @Version V1.0 Description <请输入一句话描述该类功能> Copyright (C) XXXX since 2021/1/27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Message<T> implements Serializable {

    private String id;

    private T content;
}
